WPGraphQL\Utils\QueryAnalyzer C

Total Complexity 115
Dependencies 17
Dependents 2
Total lines 778
Lines of code 366
Logical lines of code 241
Comment lines 254
Methods 19
Properties 13

Methods 19

Method Rating Maintainability Complexity Lines of code
get_graphql_keys()
B
38 20 65
set_list_types()
B
40 16 61
get_wrapped_field_type()
B
47 17 32
set_query_types()
A
42 13 52
set_query_models()
A
43 11 47
show_query_analyzer_in_extensions()
S
56 7 16
get_operation_name()
S
58 7 15
determine_graphql_keys()
S
59 5 14
track_nodes()
S
61 5 11
get_headers()
S
66 4 8
init()
S
58 2 15
get_runtime_nodes()
S
75 1 4
get_root_operation()
S
82 1 3
get_request()
S
82 1 3
get_query_id()
S
82 1 3
get_query_models()
S
80 1 3
get_query_types()
S
80 1 3
get_list_types()
S
80 1 3
__construct()
S
68 1 8